package com.climber.android.commonsdk.arouter

/**
 * Created by Mikes at 2019/4/17
 */
object ARouterPathConstants {
    const val INVALID_FLAG = -1

    /**
     * 拆分ARouter分组，降低同一个组内页面数量，减少 ARouter 路由初始化时间
     */
    private const val APP = "/iApp"  //宿主APP
    private const val INC = "/iInc"  //我的
    private const val MALL = "/iMall" //商城
    private const val MESSAGE = "/iMessage"  //消息
    private const val SOCIAL = "/iSocial"  //社区
    private const val AUTH = "/iSign"  //登录/注册

    private const val LIB_WEB = "/LibWeb"

    /**
     * 打开APP内浏览器
     */
    const val PATH_WEB_BROWSER = "$LIB_WEB/WebBrowser"

    // 主APP ------------------------------------------------------------

    /**
     * 宿主APP
     */
    const val PATH_APP_HOME = "$APP/Homepage"

    /**
     * 初次安装欢迎图片
     */
    const val PATH_APP_WELCOME = "$APP/WelcomePage"

    /** 商城 ------------------------------------------------------------ */
    const val PATH_FRAGMENT_MALL = "$MALL/Home"


    /** IM 消息 ------------------------------------------------------------ */
    /**
     * 消息页面
     */
    const val PATH_FRAGMENT_MESSAGE = "$MESSAGE/Home"

    const val PROVIDER_IM_SERVICE = "$MESSAGE/ServiceIMPL"

    /** 社区 ------------------------------------------------------------ */
    const val PATH_FRAGMENT_SOCIAL = "$SOCIAL/Home"



    /** 个人中心 ------------------------------------------------------------ */
    const val PATH_FRAGMENT_USER_CENTER = "$INC/Home"

    const val PATH_INC_MODIFY_PAY_PASSWORD = "$INC/ModifyPayPassword"

    /** 登录 注册 找回密码 ------------------------------------------------------------ */
    //登录
    const val PATH_SIGN_IN = "$AUTH/SignIn"
    //注册
    const val PATH_SIGN_UP = "$AUTH/SignUp"
    // 验证手机号
    const val PATH_AUTH_INPUT_PHONE = "$AUTH/InputPhone"

    // 修改手机号，先验证旧手机号，再绑定新手机号
    const val PATH_AUTH_MODIFY_PHONE = "$PATH_AUTH_INPUT_PHONE?otpRequestType=ModifyPhone"
    // 修改密码
    const val PATH_AUTH_MODIFY_PASSWORD = "$PATH_AUTH_INPUT_PHONE?otpRequestType=ModifyPassword"
    // 找回密码
    const val PATH_AUTH_FIND_PASSWORD = "$PATH_AUTH_INPUT_PHONE?otpRequestType=FindPassword"
}